package IUSECASE;

import IBO.IClient;
import IBO.IIntervention;
import IBO.ITechnicien;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.GregorianCalendar;
import java.util.Vector;

public interface IUC_GestionOnSite extends Remote{

        Vector<IIntervention> listeIntervention(ITechnicien technicien) throws RemoteException;
 
        void traiter(IIntervention intervention, GregorianCalendar heureDebut) throws RemoteException;
    
        void cloturer(IIntervention intervention, String descriptionIntervention, GregorianCalendar heureFin) throws RemoteException;

        void annuler(IIntervention intervention) throws RemoteException;

        void creerSousIntervention(IIntervention intervention, String descriptionIntervention, GregorianCalendar heureFin,
                                                    String descriptionDemande, String degre) 
                                                throws RemoteException;
}